home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / std / c / 573 < prev    next >
Internet Message Format  |  1996-08-06  |  882b

  1. Path: seicom.de!usenet
  2. From: tydeman@tybor.com   (Fred Tydeman)
  3. Newsgroups: comp.std.c
  4. Subject: Valid floating-point constants ?
  5. Date: 15 Mar 1996 12:04:57 GMT
  6. Organization: Tydeman Consulting
  7. Distribution: world
  8. Message-ID: <4ibmd9$aq5@gate.seicom.net>
  9. Reply-To: tydeman@tybor.com (Fred Tydeman)
  10. NNTP-Posting-Host: tybor.bb.schwaben.de
  11. X-Newsreader: IBM NewsReader/2 v1.2.5
  12.  
  13. I have run across some tools and compilers that do not like:
  14.  
  15.   08.5    09.   09e0
  16.  
  17. They complain that those are invalid octal integers.  I claim
  18. that they are valid decimal floating-point constants. Who is right?
  19.  
  20. Fred Tydeman          +49 (7031) 288-964  Tydeman Consulting
  21. Meisenweg 20          tydeman@netcom.com  Programming, testing, C/C++ training
  22. 71032 Boeblingen      /\old/\   \/new\/   Numerics editor of Jrnl. C Lang. Tran.
  23. Deutschland (Germany) tydeman@tybor.com   Member of X3J11 (ANSI "C")
  24.  
  25.